package classloaderx;

public class Ma {
    public static void main(String[] args) {
        System.out.println("＊＊＊＊＊＊＊＊＊＊＊扩展类加载器＊＊＊＊＊＊＊＊＊＊＊");
        String extDirs =System.getProperty("java.ext.dirs");
//        for (String path :extDirs.split( regex:";")){
//            System.out.println(path);
//        }

// 从上面的路径中随意选择一个类，来看看他的类加载器是什么：扩展类加载器
        ClassLoader classLoader1 = sun.security.ec.CurveDB.class.getClassLoader();
        System.out.println(classLoader1); //sun.misc. Launcher$ExtCLassLoader@1540e19d
    }
}
